package com.imyours.model.message;

import java.util.Date;

import com.imyours.model.user.UserEntity;

/**
 *
 * @author Administrator
 */
public class MessageEntity {

    private long id;
    private UserEntity sender;
    private UserEntity reciver;
    private Date sendDate;
    private String content;


    /**
     * @return the id
     */
    public long getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(long id) {
        this.id = id;
    }

    /**
     * @return the sender
     */
    public UserEntity getSender() {
        return sender;
    }

    /**
     * @param sender the sender to set
     */
    public void setSender(UserEntity sender) {
        this.sender = sender;
    }

    /**
     * @return the reciver
     */
    public UserEntity getReciver() {
        return reciver;
    }

    /**
     * @param reciver the reciver to set
     */
    public void setReciver(UserEntity reciver) {
        this.reciver = reciver;
    }

    /**
     * @return the sendDate
     */
    public Date getSendDate() {
        return sendDate;
    }

    /**
     * @param sendDate the sendDate to set
     */
    public void setSendDate(Date sendDate) {
        this.sendDate = sendDate;
    }

    /**
     * @return the content
     */
    public String getContent() {
        return content;
    }

    /**
     * @param content the content to set
     */
    public void setContent(String content) {
        this.content = content;
    }
}
